<?php

namespace app\site\service\site;

use app\common\service\pay\WxpayService;
use app\common\service\CommonSiteConfigService;
use app\model\store\Order;
use app\model\store\OrderRefund;
use app\site\service\SiteBaseService;
use app\site\service\traits\InstanceTrait;
use think\db\Query;

class OrderRefundService extends SiteBaseService
{

    use InstanceTrait;

    function initialize()
    {
        $this->model = new OrderRefund();
    }

    function formatData(array $data): array
    {
        return $data;
    }

    function query(): Query
    {
        return $this->setWith(['saleOrder','user','items'])->makeQuery();
    }

}
